
//表码分页查询
export const getCodePageDataUrl = (param: any) => {
    let method = param.energyType === 1 ? "getElePageData" : "getWaterPageData";
    return "/api/ems/datamgr/mcodeqry/" + method;
}

//表码导入
export const importCodeUrl = "/api/ems/datamgr/mcodeqry/upload/importDeviceCode";

//模板下载
export const downLoadCodeTemplateUrl = "/api/ems/datamgr/mcodeqry/downMeterTemplate";

//表码导出
export const exportCodeUrl = (param: any) => {
    let method = param.energyType === 1 ? "exportEleCode" : "exportWaterCode";
    return "/api/ems/datamgr/mcodeqry/" + method;
}